package com.atguigu.spzx.pay.service.impl;

import com.atguigu.spzx.model.entity.h5.PaymentInfo;
import com.atguigu.spzx.pay.mapper.PaymentInfoMapper;
import com.atguigu.spzx.pay.service.PaymentInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class PaymentInfoServiceImpl extends ServiceImpl<PaymentInfoMapper, PaymentInfo> implements PaymentInfoService {
    @Async
    @Override
    public void saveAsync(PaymentInfo paymetInfo) {
        this.save(paymetInfo);
    }
}
